package com.cloud.server;

import java.util.UUID;

import org.springframework.web.bind.annotation.RestController;

import com.cloud.api.UserFeign;
import com.cloud.api.req.UserReq;
import com.cloud.api.resp.UserResp;
@RestController
public class UserController implements UserFeign {

	@Override
	public UserResp load(UserReq req) {
		return new UserResp(req.getId(),UUID.randomUUID().toString());
	}

}
